<?php defined('BASEPATH') OR exit('No direct script access allowed');

/**
 * Model for getting user from the database
 */
class User_Model extends CI_Model{
    function __construct()
    {
        parent::__construct();
        $this->load->library('Ion_auth');
    }
    
    /**
     * Get all users
     */
    function get_all_users(){
        $users = $this->ion_auth->get_users('members');
        return $users;
    }
    
    /**
     * Get individual user
     * @param type $id user ID
     */
    function get_user($id){
        
    }
}

?>
